home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / os2 / fm2_252.zip / archiver.bb2 next >
Text File  |  1997-03-16  |  19KB  |  835 lines

  1. 21
  2. ;That first line is how many lines/record in this archiver.bb2 file...
  3. ;very important, do not change.  Allows future modifications to the
  4. ;file to be transparent to older programs.
  5. ;
  6. ;ARCHIVER.BB2, archiver control file for XBBS-OS/2, XGROUP and AV
  7. ;KEEP A COPY OF THIS ORIGINAL FILE FOR INFORMATION LATER!
  8. ;
  9. ;format for this archiver.bb2 file (each entry has 21 lines):
  10. ;
  11. ; 1st line:  ID of archiver (like ARC, LHARC, PKZIP, etc.; human consumption)
  12. ; 2nd line:  normal extension for archives (like ZIP, ARC, LZH; note no period)
  13. ; 3rd line:  offset into file to signature
  14. ; 4th line:  list command
  15. ; 5th line:  extract command
  16. ; 6th line:  extract w/ directories command
  17. ; 7th line:  test archive command
  18. ; 8th line:  add/create command
  19. ; 9th line:  add/create w/ paths command
  20. ;10th line:  add/create & recurse command
  21. ;11th line:  move command
  22. ;12th line:  move w/ paths command
  23. ;13th line:  delete command
  24. ;14th line:  signature (case sensitive, leading spaces count!
  25. ;15th line:  startlist string
  26. ;16th line:  endlist string
  27. ;17th line:  old size position  (all positions 0-based, -1 = not available)
  28. ;18th line:  new size position
  29. ;19th line:  file date position[,type of date (0 for none)]
  30. ;20th line:  number of positions in dates (for "03 June 92" would be 3)
  31. ;21st line:  file name position (absolutely required, of course; -1 = last pos)[,name is last (1 = TRUE, n/a w/ -1 pos)[,name is first (1 = TRUE)]]
  32. ; (see ZOO entry for example of -1 in file name position
  33. ;  see LH entry for example of name is last
  34. ;  see RAR 2.00 entry for example of name is first
  35. ;  check listings generated by these programs for clarification)
  36. ;
  37. ;ARCHIVER AUTHORS:  MAKE A STANDARD!
  38. ;
  39. ;
  40. ;a semicolon demarks a comment.  they may appear at any point *except*
  41. ;within the 21 lines of an archiver entry.  comments are ignored by AV.
  42. ;
  43. ;note that all archiver strings should include the archiver's parameter to
  44. ;prevent it from stopping for input!  also note that archive types are checked
  45. ;in order of their listing in this file.  finally, this file is set up for
  46. ;the archivers I had lying around; if yours are different versions, you may
  47. ;have to modify this file.  All archivers are OS/2 (or FAPI) versions.
  48. ;DOS archivers may work with FM/2, but it'll be up to you to set them up.
  49. ;
  50. ;date types supported:
  51. ;--------------------
  52. ;02-08-96  23:55:32            1
  53. ; 8 Feb 96 23:55:32            2
  54. ; 8 Feb 96  11:55p             3
  55. ;96-02-08 23:55:32             4
  56. ;
  57. ;
  58. ;how archive listing works (for the curious):
  59. ;
  60. ;AV first tries to find a signature match.  failing that, it checks
  61. ;to see if the file might be an ARC-format file.  If the latter, READARC.CMD
  62. ;is spawned (by XBBS) with ARC as the first argument and v as the second,
  63. ;followed by the filename (AV spawns ARC directly).  If the former, the list 
  64. ;command is sent, followed by the filename.  AV (and XBBS) then parses the
  65. ;resultant file using the start and end list lines and offsets in file lines
  66. ;listed in this file for the given archiver.
  67. ;
  68. ;Warning:  I'm told there's a bug in some versions of 4OS2 that can cause
  69. ;a call to an archiver to fail if the archiver has an extension (i.e.
  70. ;UNZIP works, UNZIP.EXE doesn't).  If things fail for no apparent reason
  71. ;and you're using 4OS2 you might keep it in mind.
  72. ;
  73. ;Sample C code to access this information is in sample.c in the AV
  74. ;distribution archive, and is free for the using in your own projects.
  75. ;
  76. ;-----------------Archiver data begins-----------------------
  77. ;
  78. ;This entry is for Zoo 2.1
  79. ;
  80. ;NOTE:  Bug in Zoo 2.1 seems to cause files stored with paths to
  81. ;be extracted w/ paths even when you don't ask it to do so...
  82. ;
  83. ;
  84. Zoo 2.1
  85. ZOO
  86. 20
  87. ZOO.EXE v
  88. ZOO.EXE xO
  89. ZOO.EXE xO/
  90. ZOO.EXE -test
  91. ZOO.Exe ah:
  92. ZOO.EXE ah
  93.  
  94. ZOO.EXE aM:h
  95. ZOO.EXE aMh
  96. ZOO.EXE -delete
  97. \xdc\xa7\xc4\xfd
  98. --------  --- --------  --------- --------
  99. --------  --- --------  --------- --------
  100. 0
  101. 2
  102. 3,2
  103. 3
  104. -1
  105. ;
  106. ; This entry is for LHarc 2.22.  Supposedly fixes bugs in earlier versions.
  107. ; Actually seems to have done so.  Good work, Peter.
  108. ;
  109. LHarc 2.22
  110. LZH
  111. 2
  112. LH.EXE /o l
  113. LH.EXE /o x
  114. LH.EXE /o /s x
  115. LH.EXE t
  116. LH.EXE /o a
  117.  
  118. LH.EXE /o /s a
  119. LH.EXE /o m
  120.  
  121. LH.EXE /o d
  122. -lh
  123.   -------- --------  -----------------------------------------
  124.   --------          -----------------------------------------
  125. 0
  126. -1
  127. 1,4
  128. 1
  129. 2,1
  130. ;
  131. ; Duplicate entry is for LHarc 2.22 using LH32 filename.
  132. ;
  133. LHarc-32 2.22
  134. LZH
  135. 2
  136. LH32.EXE /o l
  137. LH32.EXE /o x
  138. LH32.EXE /o /s x
  139. LH32.EXE t
  140. LH32.EXE /o a
  141.  
  142. LH32.EXE /o /s a
  143. LH32.EXE /o m
  144.  
  145. LH32.EXE /o d
  146. -lh
  147.   -------- --------  -----------------------------------------
  148.   --------          -----------------------------------------
  149. 0
  150. -1
  151. 1,4
  152. 1
  153. 2,1
  154. ;
  155. ; This entry is for LHarc 2.22 self-extractors.
  156. ;
  157. LHarc 2.22 SE
  158. LZH
  159. 22963
  160. LH.EXE /o l
  161. LH.EXE /o x
  162. LH.EXE /o /s x
  163. LH.EXE t
  164. LH.EXE /o a
  165.  
  166. LH.EXE /o /s a
  167. LH.EXE /o m
  168.  
  169. LH.EXE /o d
  170. -lh
  171.   -------- --------  -----------------------------------------
  172.   --------          -----------------------------------------
  173. 0
  174. -1
  175. 1,4
  176. 1
  177. 2,1
  178. ;
  179. ; This entry is for LHA 2.12 (DOS) self-extractors since LH 2.22 seems to
  180. ; recognize them.
  181. ;
  182. LHarc 2.12 DOS SE
  183. LZH
  184. 1638
  185. LH.EXE /o l
  186. LH.EXE /o x
  187. LH.EXE /o /s x
  188. LH.EXE t
  189. LH.EXE /o a
  190.  
  191. LH.EXE /o /s a
  192. LH.EXE /o m
  193.  
  194. LH.EXE /o d
  195. -lh
  196.   -------- --------  -----------------------------------------
  197.   --------          -----------------------------------------
  198. 0
  199. -1
  200. 1,4
  201. 1
  202. 2,1
  203. ;
  204. ; This entry is for LHA 2.12 (DOS) self-extractors since LH 2.22 seems to
  205. ; recognize them.
  206. ;
  207. LHarc 2.12 DOS SE
  208. LZH
  209. 37
  210. LH.EXE /o l
  211. LH.EXE /o x
  212. LH.EXE /o /s x
  213. LH.EXE t
  214. LH.EXE /o a
  215.  
  216. LH.EXE /o /s a
  217. LH.EXE /o m
  218.  
  219. LH.EXE /o d
  220. $LHarc's SFX
  221.   -------- --------  -----------------------------------------
  222.   --------          -----------------------------------------
  223. 0
  224. -1
  225. 1,4
  226. 1
  227. 2,1
  228. ;
  229. ; This entry is for LHA 2.13L (DOS) self-extractors since LH 2.22 seems to
  230. ; recognize them.
  231. ;
  232. LHarc 2.13 DOS SE
  233. LZH
  234. 36
  235. LH.EXE /o l
  236. LH.EXE /o x
  237. LH.EXE /o /s x
  238. LH.EXE t
  239. LH.EXE /o a
  240.  
  241. LH.EXE /o /s a
  242. LH.EXE /o m
  243.  
  244. LH.EXE /o d
  245. LHA's SFX 2.13L (c) Yoshi, 1991\r\n
  246.   -------- --------  -----------------------------------------
  247.   --------          -----------------------------------------
  248. 0
  249. -1
  250. 1,4
  251. 1
  252. 2,1
  253. ;
  254. ;
  255. ;This entry is for LH2 2.11.
  256. ;
  257. ;NOTE:  sometimes will put a file into an archive more than once, necessitating 
  258. ;deleting both.  EAs not handled well, but at least they're handled.
  259. ;
  260. LHarc 2.11
  261. LZH
  262. 2
  263. LH.EXE /o l
  264. LH.EXE /o x
  265. LH.EXE /o /s x
  266. LH.EXE t
  267. LH.EXE /o a
  268.  
  269. LH.EXE /o /s a
  270. LH.EXE /o m
  271.  
  272. LH.EXE /o d
  273. -lh
  274.   -------- -------- -----------------------------------------
  275.   --------          -----------------------------------------
  276. 0
  277. -1
  278. 1
  279. 1
  280. 2,1
  281. ;
  282. ;
  283. ;This entry is for ZIP 1.9/UNZIP 5.0 (available in 32-bit versions)
  284. ;ZIP/UNZIP should work with PKZIP 2.04 files.  Saves EAs well.  Won't
  285. ;extract a file stored with path without the path (actually, this seems
  286. ;to be fixed now.  Maybe.  There are dozens of versions floating around;
  287. ;you don't pays your money and you takes your chances).  If you have a
  288. ;version that won't extract files with paths without the paths, there's
  289. ;a workaround -- change the line "UNZIP.EXE -jo" below to "UNZIP.EXE -o".
  290. ;Because of broken ZIP archives floating around everywhere, this is here
  291. ;without the version flag in the signature (should really be PK\x3\x4\x14).
  292. ;Damnit, it looks like Katz's own software is what does the botching.  So
  293. ;much for the keeper of the ZIP standard...  Zip still seems to have to
  294. ;have erratic problems with creating archives with some pathnames...
  295. ;
  296. Zip/UnZip 1.9/5.0
  297. ZIP
  298. 0
  299. UNZIP.EXE -vUo
  300. UNZIP.EXE -jo
  301. UNZIP.EXE -o
  302. UNZIP.EXE -to
  303. ZIP.EXE -j9g
  304. ZIP.EXE -9g
  305. ZIP.EXE -r9g
  306. ZIP.EXE -mj9g
  307. ZIP.EXE -m9g
  308. ZIP.EXE -d
  309. PK\x3\x4
  310.  ------  ------   ----  -----   ----    ----   ------     ----
  311.  ------          ------  ---                              -------
  312. 0
  313. 2
  314. 4,1
  315. 2
  316. 7,1
  317. ;
  318. ;
  319. ;Duplicate entry is for ZIP 1.9/UNZIP 5.0 using 32 filenames.
  320. ;
  321. Zip/UnZip-32 1.9/5.0
  322. ZIP
  323. 0
  324. UNZIP32.EXE -vUo
  325. UNZIP32.EXE -jo
  326. UNZIP32.EXE -o
  327. UNZIP32.EXE -to
  328. ZIP32.EXE -j9g
  329. ZIP32.EXE -9g
  330. ZIP32.EXE -r9g
  331. ZIP32.EXE -mj9g
  332. ZIP32.EXE -m9g
  333. ZIP32.EXE -d
  334. PK\x3\x4
  335.  ------  ------   ----  -----   ----    ----   ------     ----
  336.  ------          ------  ---                              -------
  337. 0
  338. 2
  339. 4,1
  340. 2
  341. 7,1
  342. ;
  343. ;
  344. ;This entry is for PKZIP 1.01
  345. ;
  346. PK(Un)Zip 1.01
  347. ZIP
  348. 0
  349. PKZIP.EXE -v
  350. PKUNZIP.EXE -o
  351. PKUNZIP.EXE -o -d
  352. PKUNZIP.EXE -t
  353. PKZIP.EXE -a
  354. PKZIP.EXE -a -P
  355. PKZIP.EXE -a -p -r
  356. PKZIP.EXE -m
  357. PKZIP.EXE -m -P
  358. PKZIP.EXE -d
  359. PK\x3\x4\xa
  360.  ------  ------   ----- -----   ----    ----   ------  ----  ----
  361.  ------          ------  ---                                 -------
  362. 0
  363. 2
  364. 4
  365. 2
  366. 8
  367. ;
  368. ;
  369. ;This entry is for PKZIP 1.01 named PK(Un)Zip2
  370. ;
  371. PK(Un)Zip2 1.01
  372. ZIP
  373. 0
  374. PKZIP2.EXE -v
  375. PKUNZIP2.EXE -o
  376. PKUNZIP2.EXE -o -d
  377. PKUNZIP2.EXE -t
  378. PKZIP2.EXE -a
  379. PKZIP2.EXE -a -P
  380. PKZIP2.EXE -a -p -r
  381. PKZIP2.EXE -m
  382. PKZIP2.EXE -m -P
  383. PKZIP2.EXE -d
  384. PK\x3\x4\xa
  385.  ------  ------   ----- -----   ----    ----   ------  ----  ----
  386.  ------          ------  ---                                 -------
  387. 0
  388. 2
  389. 4
  390. 2
  391. 8
  392. ;
  393. ;This entry is for unzipsfx self-extractors
  394. ;
  395. unzipsfx
  396.  
  397. 217
  398. UNZIP.EXE -vUo
  399. UNZIP.EXE -jo
  400. UNZIP.EXE -o
  401. UNZIP.EXE -to
  402.  
  403.  
  404.  
  405.  
  406.  
  407. ZIP.EXE -d
  408. unzipsfx
  409.  ------  ------   ----  -----   ----    ----   ------     ----
  410.  ------          ------  ---                              -------
  411. 0
  412. 2
  413. 4,1
  414. 2
  415. 7,1
  416. ;
  417. ;
  418. ;This entry is for PKZIP self-extractors type 1
  419. ;
  420. PK(Un)Zip SE #1
  421.  
  422. 2934
  423. PKZIP.EXE -v
  424. PKUNZIP.EXE -o
  425. PKUNZIP.EXE -o -d
  426. PKUNZIP.EXE -t
  427.  
  428.  
  429.  
  430.  
  431.  
  432. PKZIP.EXE -d
  433. PK\x3\x4
  434.  ------  ------   ----- -----   ----    ----   ------  ----  ----
  435.  ------          ------  ---                                 -------
  436. 0
  437. 2
  438. 4
  439. 2
  440. 8
  441. ;
  442. ;This entry is for PKZIP self-extractors type 2
  443. ;
  444. PK(Un)Zip SE #2
  445.  
  446. 12784
  447. PKZIP.EXE -v
  448. PKUNZIP.EXE -o
  449. PKUNZIP.EXE -o -d
  450. PKUNZIP.EXE -t
  451.  
  452.  
  453.  
  454.  
  455.  
  456. PKZIP.EXE -d
  457. PK\x3\x4
  458.  ------  ------   ----- -----   ----    ----   ------  ----  ----
  459.  ------          ------  ---                                 -------
  460. 0
  461. 2
  462. 4
  463. 2
  464. 8
  465. ;
  466. ;
  467. ;
  468. ;This entry is for PKZIP self-extractors type 3
  469. ;
  470. PK(Un)Zip SE #2
  471.  
  472. 30948
  473. PKZIP.EXE -v
  474. PKUNZIP.EXE -o
  475. PKUNZIP.EXE -o -d
  476. PKUNZIP.EXE -t
  477.  
  478.  
  479.  
  480.  
  481.  
  482. PKZIP.EXE -d
  483. PK\x3\x4
  484.  ------  ------   ----- -----   ----    ----   ------  ----  ----
  485.  ------          ------  ---                                 -------
  486. 0
  487. 2
  488. 4
  489. 2
  490. 8
  491. ;
  492. ;This entry is for Unarj 2.10 ported by Scott Dudley
  493. ;
  494. (Un)Arj 2.10
  495.  
  496. 0
  497. UNARJ.EXE l
  498. UNARJ.EXE e
  499. UNARJ.EXE x
  500. UNARJ.EXE t
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507. \x60\xea
  508. ------------ ---------- ---------- ----- ----------------- -------- ---- ------
  509. ------------ ---------- ---------- ----- -----------------
  510. 1
  511. 2
  512. 4,4
  513. 1
  514. 0
  515. ;
  516. ;This entry is for Unarj 2.30 demo version.  Don't use Unarj 2.41; it's broken.
  517. ;
  518. (Un)Arj 2.30 demo
  519.  
  520. 0
  521. UNARJ.EXE l
  522. UNARJ.EXE e
  523. UNARJ.EXE x
  524. UNARJ.EXE t
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531. \x60\xea
  532. ------------ ---------- ---------- ----- ----------------- -------- -----------
  533. ------------ ---------- ---------- ----- -----------------
  534. 1
  535. 2
  536. 4
  537. 1
  538. 0
  539. ;
  540. ;This entry is for Arj 2.00 (DOS)
  541. ; Note that other programs that use this control file may not be able to
  542. ; handle calling a DOS archiver correctly!  FM/2 is the only one that I
  543. ; know of which can at this time.  This means you may need to keep FM/2's
  544. ; ARCHIVER.BB2 separate from those for other programs.
  545. ;
  546. Arj 2.00 DOS
  547. ARJ
  548. 0
  549. ARJ.EXE l
  550. ARJ.EXE e -y
  551. ARJ.EXE x -y
  552. ARJ.EXE t
  553. ARJ.EXE a -y -e
  554. ARJ.EXE a -y
  555. ARJ.EXE a -y -r
  556. ARJ.EXE m -y -e
  557. ARJ.EXE m -y
  558. ARJ.EXE d -y
  559. \x60\xea
  560. ------------ ---------- ---------- ----- ----------------- -------- ---- ------
  561. ------------ ---------- ---------- -----
  562. 1
  563. 2
  564. 4
  565. 1
  566. 0
  567. ;
  568. ;
  569. ;This entry is for RAR/2 v2, provided by Eugene Roshal
  570. ;
  571. RAR/2 v2
  572. RAR
  573. 0
  574. RAR.EXE v -c-
  575. RAR.EXE e -y -c- -o+
  576. RAR.EXE x -y -c- -o+
  577. RAR.EXE t -c-
  578. RAR.EXE a -ep1 -y
  579. RAR.EXE a -y
  580. RAR.EXE a -r -y
  581. RAR.EXE mf -y
  582. RAR.EXE m -y
  583. RAR.EXE d -y
  584. Rar!\x1a\x07\x00
  585. ------------------------------------------------------------------------------
  586. ------------------------------------------------------------------------------
  587. 0
  588. 1
  589. 3
  590. 1
  591. 0,0,0,1
  592. ;
  593. ;This entry is for RAR/2 v.1.53beta OS/2 SFX
  594. ;
  595. RAR/2 v.1.53beta OS/2 SFX
  596.  
  597. 13707
  598. RAR.EXE l -c-
  599. RAR.EXE e -y -c- -o+
  600. RAR.EXE x -y -c- -o+
  601. RAR.EXE t -c-
  602. RAR.EXE a -ep1 -y
  603. RAR.EXE a -y
  604. RAR.EXE a -r -y
  605. RAR.EXE mf -y
  606. RAR.EXE m -y
  607. RAR.EXE d -y
  608. Rar!\x1a\x07\x00
  609. ------------------------------------------------------------------------------
  610. ------------------------------------------------------------------------------
  611. 1
  612. 2
  613. 4
  614. 1
  615. 0,0,0,1
  616. ;
  617. ;This entry is for RAR v.1.53 DOS SFX
  618. ;
  619. RAR v.1.53 DOS SFX
  620.  
  621. 7195
  622. RAR.EXE l -c-
  623. RAR.EXE e -y -c- -o+
  624. RAR.EXE x -y -c- -o+
  625. RAR.EXE t -c-
  626. RAR.EXE a -ep1 -y
  627. RAR.EXE a -y
  628. RAR.EXE a -r -y
  629. RAR.EXE mf -y
  630. RAR.EXE m -y
  631. RAR.EXE d -y
  632. Rar!\x1a\x07\x00
  633. ------------------------------------------------------------------------------
  634. ------------------------------------------------------------------------------
  635. 1
  636. 2
  637. 4
  638. 1
  639. 0,0,0,1
  640. ;
  641. ;This entry is for RAR v.2.00 SFX
  642. ;
  643. RAR v.2.00 SFX
  644.  
  645. 28
  646. RAR.EXE l -c-
  647. RAR.EXE e -y -c- -o+
  648. RAR.EXE x -y -c- -o+
  649. RAR.EXE t -c-
  650. RAR.EXE a -ep1 -y
  651. RAR.EXE a -y
  652. RAR.EXE a -r -y
  653. RAR.EXE mf -y
  654. RAR.EXE m -y
  655. RAR.EXE d -y
  656. RSFXjr
  657. ------------------------------------------------------------------------------
  658. ------------------------------------------------------------------------------
  659. 1
  660. 2
  661. 4
  662. 1
  663. 0,0,0,1
  664. ;
  665. ;
  666. ;This entry is for ARC 5.12mpl
  667. ;
  668. Arc 5.12mpl
  669. ARC
  670. 0
  671. ARC.EXE lwn
  672. ARC.EXE ewn
  673.  
  674. ARC.EXE t
  675. ARC.EXE awn
  676.  
  677.  
  678. ARC.EXE mwn
  679.  
  680. ARC.EXE dwn
  681. \x1a
  682. ============  ========  =========
  683.         ====  ========
  684. 1
  685. -1
  686. 2,3
  687. 3
  688. 0
  689. ;
  690. ;This entry is for ARC2 (6.0)
  691. ;Note that I don't actually have a copy of this...
  692. ;
  693. Arc 6.0
  694. ARC
  695. 0
  696. ARC.EXE l
  697. ARC.EXE ewn
  698.  
  699. ARC.EXE t
  700. ARC.EXE awn
  701.  
  702.  
  703. ARC.EXE mwn
  704.  
  705. ARC.EXE dwn
  706. \x1a
  707. =================  ========  =========
  708.              ====  ========
  709. 1
  710. -1
  711. 2
  712. 3
  713. 0
  714. ;
  715. ;
  716. ;Duplicate entry is for ARC2 (6.0) using ARC2 filename.
  717. ;
  718. Arc 6.0
  719. ARC
  720. 0
  721. ARC2.EXE l
  722. ARC2.EXE ewn
  723.  
  724. ARC2.EXE t
  725. ARC2.EXE awn
  726.  
  727.  
  728. ARC2.EXE mwn
  729.  
  730. ARC2.EXE dwn
  731. \x1a
  732. =================  ========  =========
  733.              ====  ========
  734. 1
  735. -1
  736. 2
  737. 3
  738. 0
  739. ;
  740. ;-----------------Archiver data ends-----------------------
  741. ;
  742. ;
  743. ; For possible future use:
  744. ;
  745. ; Squeeze-it signature:  (Offset 0)     \x48\x4C\x53\x51\x5Ah
  746. ; HA signature:          (Offset 0)     HA
  747. ; HAP signature:         (Offset 0)     \x913HF
  748. ; HPK signature:         (Offset 0)     HPAK
  749. ; SQZ signature:         (Offset 0)     HLSQZ
  750. ; DWZ signature:         (Offset -3)    DWC
  751. ;
  752. ; No OS/2 versions available yet to my knowledge...
  753. ;
  754. ;
  755. ;
  756. ;Notes on modifying/updating this file:
  757. ;=====================================
  758. ;
  759. ;You can add as many archivers as you like to this file.
  760. ;here are some suggestions on how to go about it:
  761. ;
  762. ;list an archive with the archiver, redirecting to a disk
  763. ;file (ex. "ARC l AFILE.ARC > TEMP.").  Load the resultant
  764. ;file into a text editor.  Clip out the startlist and endlist
  765. ;strings and paste directly into this file on the appropriate
  766. ;lines; prevents errors due to typos when copying manually.
  767. ;Count the positions of filename, date, etc. and place on the
  768. ;appropriate line.  Now run the archiver redirected to a file
  769. ;to get its help screen (ex. "ARC > TEMP." or "ZOO h > TEMP.").
  770. ;Look for the various command options (extract, list, etc.) and
  771. ;put them into the file on the appropriate lines -- remember to
  772. ;add the modifiers to prevent the archiver from stopping to ask
  773. ;questions!  You could be in deep doo-doo if it's a detached
  774. ;process.  While it may seem a pain in the arse to have to
  775. ;edit this file when an archiver changes its command structure
  776. ;or list format, at least it's something within your control;
  777. ;you don't have to wait for an update to AV.  That means if I
  778. ;die tomorrow you'll still be able to use AV for years to come.
  779. ;
  780. ;Here's an example of an ARC listing (5.12mpl, command "ARC l"):
  781. ;
  782. ;----------------cut here----------------------
  783. ;Name          Length    Date
  784. ;============  ========  =========    <--this line is start-of-list
  785. ;MAKEFILE           374  28 Nov 89
  786. ;QSORT.C          14279  29 Nov 89
  787. ;QSORT.EXE        24629  29 Nov 89
  788. ;STUFF.H            371  29 Nov 89
  789. ;        ====  ========               <--this line is end-of-list
  790. ;Total      4     39653
  791. ;----------------cut here----------------------
  792. ;
  793. ;Note the filename is in position 0, old length in position 1, and the
  794. ;date starts in position 2, with 3 parts, and there's no new length
  795. ;field (so it'd be -1).  Compare that to the archiver entry for
  796. ;ARC 5.12mpl above and you should get a feel for what all those fields
  797. ;mean.  Here's a diagram of how a file line breaks down:
  798. ;
  799. ;STUFF.H            371  29 Nov 89
  800. ;  ^                 ^   ^
  801. ;  |                 |   |
  802. ;  |                 |   +--Date starts in field 2, 3 parts (29, Nov, and 89)
  803. ;  |                 |
  804. ;  |                 +--Old file length, field 1
  805. ;  |
  806. ;  +--Filename, field 0 (count from 0, not 1)
  807. ;
  808. ;
  809. ;If you're adding an entirely new archive format, note that you can
  810. ;use 'C'-style \x<hexnumber> on the signature line in this file.
  811. ;For example, the \x1a in ARC 5.12mpl's signature line means AV will
  812. ;look for an ASCII 26 (text EOF marker) in position 0 (first byte, as
  813. ;indicated by ARC's line 3, the offset into a file for the signature)
  814. ;of a file to determine if it's an archive.  If line 3's offset is
  815. ;negative, AV looks from the end of the file instead of the beginning.
  816. ;You can usually figure out what an archiver's signature is by looking
  817. ;at a few archives with a file viewing program like Vernon Buerg's 
  818. ;LIST.  By all means send me anything new you figure out for inclusion
  819. ;in future releases.
  820. ;
  821. ;
  822. ;You can have several entries for one type of archive in this file.  AV
  823. ;tries entries sequentially to list the file until it finds one that works.
  824. ;If the first entry for a signature doesn't work, and AV finds one that
  825. ;does, it moves that entry to the top of the list and rewrites ARCHIVER.BB2
  826. ;to make future accesses faster.  This allows me to list everything I can
  827. ;get entries for and let AV sort out what the user actually has that works.
  828. ;It also lets you, the user, create archives with more than one archiver that
  829. ;produces the same sort of archive (or with different switches, like one with
  830. ;LHArc producing -lh5- compression and one with it producing old, compatible
  831. ;-lh1- compression).
  832. ;
  833. ;
  834. ;always end file with blank line or comment
  835.